Delegation for Java: API or Language Extension?

نویسنده

  • Günter Kniesel
چکیده

The failed attempt of JavaSoft to incorporate an “Object Aggregation / Delegation API” into its newest JavaBeans model has demonstrated impressively the high necessity and also the notorious difficulty of incorporating delegation into typed class-based languages. Although JavaSoft's proposal has been withdrawn due to public criticism of its limitations, the general issue is still relevant: is it possible to define a “one size fits all” standard API for delegation, and if not, is there any real alternative to such an API? This paper explores both questions. It shows that on one hand, all API-level solutions have serious drawbacks related to functional limitations, simulation costs and sensitiveness to change. On the other hand, recent work has demonstrated that integration of dynamic delegation into a class-based, statically typed language with subtyping is feasible in theory and practice in spite of contradictory claims in literature. However, since an efficient implementation is still missing we can just recommend an API-level compromise and invite researchers worldwide to join efforts for a high-performance implementation of dynamic delegation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Language and Runtime Implementation of Sessions for Java

The purpose of this work is to incorporate the principles of session types into a concrete object-oriented language, specifically an extension of Java, as a basis for communications-based programming for distributed environments. Building on preceding theoretical studies of this topic, we present the first practical implementation of such a language, including a treatment of asynchronous commun...

متن کامل

Secure Delegation for Distributed Object Environments

SDM is a Secure Delegation Model for Javabased distributed object environments. SDM extends current Java security features to support secure remote method invocations that may involve chains of delegated calls across distributed objects. The framework supports a control API for application developers to specify mechanisms and security policies surrounding simple or cascaded delegation. Delegati...

متن کامل

Automating Delegation in Class-Based Languages

Some designers of class-based object oriented languages choose not to support multiple inheritance. As a result, programmers often resort to ad hoc workarounds. The most common of these workarounds is delegation. Even delegation is tedious and error prone, however: We believe that language designers who choose against multiple inheritance should consider automating delegation in order to allevi...

متن کامل

A Java API for X.509 Proxy Certificates

X.509 Proxy Certificates have been proposed for use in the Grid Security Infrastructure to allow dynamic delegation of rights and single sign-on for end users. We have evaluated proxy certificates to secure a service-oriented architecture for digital content based on Web Services. We describe how support for proxy certificates was implemented in Java through extensions to the Java Cryptography ...

متن کامل

Practical delegation for secure distributed object environments

SDM is a secure delegation model for Java-based distributed object environments. SDM extends current Java security features to support secure remote method invocations that may involve chains of delegated calls across distributed objects. The framework supports a control API for application developers to specify mechanisms and security policies surrounding simple or cascaded delegation. Delegat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998